//
//  XiangQingViewController.m
//  UI_豆瓣app
//
//  Created by 151129-49宋强 on 15/12/25.
//  Copyright © 2015年 www.lanou3g.com蓝鸥. All rights reserved.
//

#import "XiangQingViewController.h"
#import "UserViewController.h"

@interface XiangQingViewController ()

@end

@implementation XiangQingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = @"详情页";
    
    self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"btn_nav_share"] style:UIBarButtonItemStylePlain target:self action:@selector(RightBtn)];
    
    
    
    
//    self.view = [[[NSBundle mainBundle] loadNibNamed:@"XiangQingViewController" owner:self options:nil] lastObject];
}
- (void)RightBtn
{
    UserViewController *userVC = [[UserViewController alloc] init];
    [self.navigationController  pushViewController:userVC animated:YES];
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
